-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Details output option for list
#5939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| return; | ||
| } | ||
|
|
||
| auto lines = Split(value, '\n'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just call the version that takes a container after this?
|
I'm finding that |
|
|
Totally makes sense. Chatted with Demitrius - sorry to randomize you John! |

Change
The new experimental feature
listDetailsenables a new option for thelistcommand,--details. When supplied, the output is no longer a table view of the results but is instead a series ofshowlike outputs drawing data from the installed item.An example output for a single installed package is:
When there are multiple results, the identity line is prefixed with the standard
(N/M)format string used in multi-package operations elsewhere.If sixels are enabled and supported by the terminal, an icon for the installed package will be shown. This currently models the mechanism used by winget-pkgs to extract the icons and by the
showcommand to select the appropriate one to display. It is using the same code in the same manner and should be representative of what would be shown to the user if it were doing the full round trip through the repository/cache/showcommand.